package org.example;

import cn.it.http.Cal;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Dome {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        Cal cal = (Cal)classPathXmlApplicationContext.getBean("calimpl");
        cal.add(11,2);
        cal.sub(12,3);
        cal.mul(13,4);
        cal.div(14,5);
    }
}
